package top.jamsee.service;

import top.jamsee.entity.RegisterHouse;

import java.util.List;

public interface RegisterHouseService {
    //查询数据(分页后)
    public List<List> SelectRegisterHouseData(int pageNum);
    //删除数据
    public int deleteRegisterHouseData(int id);
    //查询有多少条数据
    public int selectRegisterHouseNum();
    //添加记录
    public int addRegisterHouseData(RegisterHouse reg);
    //模糊查询register_house表
    public List<RegisterHouse> selectRegisterHouseByData(int pageNum, String data);
    //模糊查询register_house表的所有数量方便后续分页
    public int selectRegisterHouseByDataNum(String data );
    //更新register_house表根据id
    public boolean upDateRegisterHouseById(RegisterHouse registerHouse);
    //根据id查询是否有此条记录,更新表时使用
    public int selectRegisterHouseById(int id);


}
